
{foreach from=$aFriends item=aFriend}
<div class="float_friend" id="float_friend_{$aFriend.friend_user_id}">
	<div style="float:left">
		{img user=$aFriend suffix='_50_square' max_width=32 max_height=32}
	</div>
	<div class="invite_full_name">
		{$aFriend.full_name|shorten:40:'...'}
	</div>
	<div class="buttonInvite">
			<input type="button" value="Invite" class="button" onclick="$.ajaxCall('event.invitemember','user_id={$aFriend.friend_user_id}&page_id={$event_id}');"/>
	</div>
</div>
{/foreach}
<div style="clear:both"></div>
{if count($aFriends)==0}
<div>
	No friend is found!
</div>
{/if}
